//
//  BankYESViewController.m
//  JiJinFinance
//
//  Created by 李东晓 on 15/12/10.
//  Copyright © 2015年 LiDongXiao. All rights reserved.
//

#import "BankYESViewController.h"
#import "BankYesView.h"
@interface BankYESViewController ()

@end

@implementation BankYESViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    NSArray * arr = [[NSBundle mainBundle]loadNibNamed:@"BankYesView" owner:self options:nil];
    
    BankYesView * bankY = arr.lastObject;
    
    [bankY.layer setMasksToBounds:YES];
    
    [bankY.ButBankYes.layer setCornerRadius:3];
    
    [bankY setFrame:CGRectMake(0, 0, kUIScreenWidth, bankY.frame.size.height)];
   
    UIScrollView * scr = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 0, kUIScreenWidth, bankY.frame.size.height)];
    
    [scr setContentSize:CGSizeMake(0, 400)];
    
    self.view = scr;
    
    [scr addSubview:bankY];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
